﻿using System;

namespace Boxi.Model
{
    public struct MoveModel : IMove
    {
        /// <summary>
        /// Index of Move
        /// </summary>
        public Byte MoveID
        {
            get
            {
                return _moveID;
            }
        }
        private Byte _moveID;

        /// <summary>
        /// Index of Move
        /// </summary>
        public Byte MoveMadeOrder
        {
            get
            {
                return _moveMadeOrder;
            }
            set
            {
                _moveMadeOrder = value;
            }
        }
        private Byte _moveMadeOrder;

        /// <summary>
        /// Index of First Point
        /// </summary>
        public Byte FirstPoint
        {
            get
            {
                return _firstPoint;
            }
        }
        private Byte _firstPoint;

        /// <summary>
        /// Index of Secound Point
        /// </summary>
        public Byte SecondPoint
        {
            get
            {
                return _secondPoint;
            }
        }
        private Byte _secondPoint;

        #region Methods
        /// <summary>
        /// 
        /// </summary>
        /// <param name="moveID"></param>
        /// <param name="firstPoint"></param>
        /// <param name="secondPoint"></param>
        public MoveModel(Byte moveID, Byte firstPoint, Byte secondPoint)
        {
            _moveID = moveID;
            _firstPoint = firstPoint;
            _secondPoint = secondPoint;
            _moveMadeOrder = 0;
        }

        #endregion
    }
}
